#include "cpu/exec/template-start.h"

#define instr lods

static void do_execute(){
    REG(0) = swaddr_read(cpu.esi, DATA_BYTE);
    cpu.esi += (cpu.eflags.DF ? -DATA_BYTE : DATA_BYTE);
    print_asm(str(instr) "$ds:($esi) %s", REG_NAME(0));
}

#include "cpu/exec/template-end.h"